<template>
	<view class="address-info" @click.capture="clickAddress">
		<view class="left">
			<uni-icons type="location" size="16" color="#BBC0C9"></uni-icons>
			{{ item.station_floor_alias + '-' + item.station_num }}
		</view>
		<view class="right">
			<uni-icons type="phone" size="16" color="#BBC0C9"></uni-icons>
			{{ item.station_phone }}
		</view>
	</view>
</template>

<script>
	export default {
		name: 'AddressInfo',
		props: {
			item: Object
		},
		methods: {
			clickAddress() {
				this.$emit('clickAddress', this.item);
			}
		}
	}
</script>

<style lang="scss" scoped>
	::v-deep .uni-icons {
		margin-right: 10rpx;
	}
	.address-info {
		flex: 1;
		display: flex;
		justify-content: space-between;
		align-items: center;
		
		// margin-left: 20rpx;
		
		font-size: 28rpx;
		
		color: $uni-text-color;
	}
</style>
